From: Colin Walters Date: Tue, 2 Jan 2024 20:16:47 +0000 (-0500) Subject: docs/composefs: Add note about toplevel dirs X-Git-Tag: archive/raspbian/2024.8-1+rpi1^2~7^2~7^2~11^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=712eecad4f1fe30193a7c283c1b6ddeb915a5e6f;p=ostree.git docs/composefs: Add note about toplevel dirs Just thinking about trying to land this, I think some people may hit this one. --- diff --git a/docs/composefs.md b/docs/composefs.md index ebc26af3..b95c61f6 100644 --- a/docs/composefs.md +++ b/docs/composefs.md @@ -87,6 +87,19 @@ At the current time, there are no additional userspace runtime requirements. **IMPORTANT** The integration with composefs is experimental and subject to change. Please try it and report issues but do not deploy to production systems yet. +## Compatiblity + +One issue that ostree users transitioning to composefs may hit is that it is no +longer possible to add new toplevel directories via the `chattr -i / && mkdir /somedir && chattr -i` +trick. A bit more on this in the following issues: + +* +* + +However, users who were doing things like this probably want to enable the +`root.transient` option; see `man ostree-prepare-root` which will allow +this (but also change other behaviors too). + ## Comparison with other approaches There is also support for using [IMA](ima.md) with ostree. In short, composefs